function [Obsturction,Similiraty] = ProcessRenew(Obsturction,People,Tech,time,path)
Avar = zeros(10, 13);
for position=1:10
    allPos = People(find(People(:,15)==position),1:13);
    if ~isempty(allPos)
        Avar(position, :) = mean(allPos,1);
    end
end
Avar(:,find(Tech(:,3)==0))=[];

D = pdist(Avar); % 计算 pdist()
Similiraty = squareform(D); % 通过函数 squareform() 得到 i j 的对应关系
Similiraty = Similiraty/max(max(Similiraty));

Obs=0;
for i=1:9
    Obs = Obs+Similiraty(path(i),path(i+1));
end
Obsturction(time)=Obs;
end